<?php

	$TEMP->set_file(array('handle' => DIR_IFRAME_VIEW . 'viewAnnouncement.html'));
	
	$announceID = $_GET['id'];
	
	if ( !empty($announceID) ) {
		$getAnnouncement = $ANNOUNCE->getAnnouncement($announceID);

		$TEMP->set_var(array('title'		=> $getAnnouncement['announce_title'],
							 'desc' 		=> $getAnnouncement['announce_desc'],
							 'timestamp' 	=> lFdY($getAnnouncement['timestamp']),
							));
	}
?>